package cn.aixuxi.notebank.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 类描述 分类实体类
 *
 * @author ruozhuliufeng
 * @version 1.0
 * @date 2020/10/25 9:09
 */
@TableName("category")
@Data
public class CategoryEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String categoryName;
    private Integer parentId;
}
